Component org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService
In bundle org.nuxeo.ecm.platform.ui
Documentation
The Pluggable Restlet service provides extension point to register new Restlets and handle their configuration (Seam or Conversation usage).
Implementation
Class:
org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService
Extension Points
XML Source
<?xml version="1.0"?>
<component name="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService">
<implementation
class="org.nuxeo.ecm.platform.ui.web.restAPI.service.PluggableRestletService"/>
<documentation>
The Pluggable Restlet service provides extension point to register new Restlets and
handle their configuration (Seam or Conversation usage).
@author Thierry Delprat (td@nuxeo.com)
</documentation>
<extension-point name="restlets">
<documentation>
@author Thierry Delprat (td@nuxeo.com)
This extension point lets you contribute new Restlets: ie, new REST API executor.
Sample contribution:
<restletPlugin
name="name of the restlet"
class="implementation class, you can use BaseNuxeoRestlet as a base clas"
enabled="true"
useSeam="true/false : indicate if Seam components will be used"
useConversation="true/false : indicate if Seam conversation must be restored">
<urlPatterns>
<urlPattern>/{repo}/{docid}/pluginUpload</urlPattern>
</urlPatterns>
</restletPlugin>
</documentation>
<object
class="org.nuxeo.ecm.platform.ui.web.restAPI.service.RestletPluginDescriptor"/>
</extension-point>
</component>